package com.mongoosehome.web.common.domain;

import java.util.HashSet;
import java.util.Set;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class TRole implements java.io.Serializable{
   
    private int roleId;         //id
    private String roleName;    //角色名字
    private String description; //描述
    private Set<TUser> users =  new HashSet<TUser>(0);;   //用户
    private Set<TModule> modules = new HashSet<TModule>(0); //模块菜单

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Set<TUser> getUsers() {
        return users;
    }

    public void setUsers(Set<TUser> users) {
        this.users = users;
    }

    public Set<TModule> getModules() {
        return modules;
    }

    public void setModules(Set<TModule> modules) {
        this.modules = modules;
    }
    
}
